export default class Transaction {
    transactionId: string;
    amount: number;
    date: Date;
    walletId: string;
    operation: string;

    constructor(transactionId: string,
                amount: number,
                date: Date,
                walletId: string,
                operation: string) {
        this.transactionId = transactionId;
        this.amount = amount;
        this.operation = operation;
        this.walletId = walletId;
        this.date = date
    }
}